package spring.JUNIT.aop.API;


import org.aopalliance.intercept.MethodInterceptor;
import org.aopalliance.intercept.MethodInvocation;

public class zzyMethodInterceptor implements MethodInterceptor {

	@Override
	public Object invoke(MethodInvocation invocation) throws Throwable {
		System.out.println("zzyMethodInterceptor:"
				+ invocation.getMethod().getName() + "  "
				+ invocation.getStaticPart().getClass().getName());
		Object proceed = invocation.proceed();
		System.out.println("zzyMethodInterceptor:" + proceed);
		return proceed;
	}

}
